#! /bin/sh

for i in jsoncpp  onion  gateway  gwlib  sur_fuse; do
    cd $i
    rm -rfv build/lib/libonion_static.a build/sur_mount build/bin/dicom
    make -C build -j
    cd ../
done
